package com.zhangtingshu.vo;

import java.sql.Timestamp;

/**
 * @author zhangtingshu
 * 帖子VO类
 */
public class InvitationVO {

    private int id;
    private String title;
    private String summary;
    private int uid;
    private Timestamp createdate;
    private String name;
    private int likes;

    public InvitationVO() {
    }

    public InvitationVO(int id, String title, String summary, int uid, Timestamp createdate, String name, int likes) {
        this.id = id;
        this.title = title;
        this.summary = summary;
        this.uid = uid;
        this.createdate = createdate;
        this.name = name;
        this.likes = likes;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public Timestamp getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Timestamp createdate) {
        this.createdate = createdate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLikes() {
        return likes;
    }

    public void setLikes(int likes) {
        this.likes = likes;
    }

    @Override
    public String toString() {
        return "InvitationVO{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", summary='" + summary + '\'' +
                ", uid=" + uid +
                ", createdate=" + createdate +
                ", name='" + name + '\'' +
                ", likes=" + likes +
                '}';
    }
}
